Changes for OSF/1:
authorJim Blandy <jimb@redhat.com>
Tue, 25 May 1993 03:05:38 +0000 (03:05 +0000)
committerJim Blandy <jimb@redhat.com>
Tue, 25 May 1993 03:05:38 +0000 (03:05 +0000)
* mem-limits.h [__osf__ && (__mips || mips)]: #include
<sys/time.h> and <sys/resource.h>.
(get_lim_data): OSF wants a definition like BSD4_2's.
* s/osf1.h: #include "bsd4-3.h", not "s-bsd4-3.h".

src/mem-limits.h
src/s/osf1.h

index bb03c6f32f9eb615c2f1341f2e779a4239c48d4c..31c71dc3e4ed8a9402d29e0a4f29f7e6c6b14109 100644 (file)
@@ -17,6 +17,11 @@ You should have received a copy of the GNU General Public License
 along with GNU Emacs; see the file COPYING.  If not, write to
 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
+#if defined(__osf__) && (defined(__mips) || defined(mips))
+#include <sys/time.h>
+#include <sys/resource.h>
+#endif
+
 #ifndef BSD4_2
 #ifndef USG
 #include <sys/vlimit.h>
@@ -95,7 +100,7 @@ get_lim_data ()
 }
 
 #else /* not USG */
-#ifndef BSD4_2
+#if !defined(BSD4_2) && !defined(__osf__)
 
 static void
 get_lim_data ()
index 65e80861cc165e50c124435e6566a72a851f23b1..491b8978a6f6a6ee54cbb4d0a5639a6099f09a9c 100644 (file)
@@ -1,4 +1,4 @@
-#include "s-bsd4-3.h"
+#include "bsd4-3.h"
 
 /* Identify OSF1 for the m- files. */